<template>
    <p>表单输入绑定</p>
    <form>
        <input type="text" v-model.number="message"></input>
        <p>输入的内容为：{{ message }}</p>
        <input type="checkbox" id="checkbox" v-model="checked"/>
        <label for="checkbox">{{ checked }}</label>
    </form>
</template>
<script>
export default {
    data() {
        return {
            message:"",
            checked:false,
        }
    },
    methods: {

    }
}

</script>
<style type="text/css">
</style>